def generate_adjacent_subnets(base_subnet):
    # 分割IP地址和子网掩码
    ip, subnet = base_subnet.rsplit('/', 1)
    ip_parts = list(map(int, ip.split('.')))
    
    # 生成相邻的三个子网
    adjacent_ips = [
        f"{'.'.join(map(str, [*ip_parts[:2], ip_parts[2]-2, ip_parts[3]]))}/{subnet}", 
        f"{'.'.join(map(str, [*ip_parts[:2], ip_parts[2]-1, ip_parts[3]]))}/{subnet}", 
        f"{'.'.join(map(str, [*ip_parts[:2], ip_parts[2]+1, ip_parts[3]]))}/{subnet}"  
    ]
    
    return adjacent_ips

# 给定的路由器节点
base_subnet = "192.168.11.0/24"

# 获取并打印相邻的三个子网
adjacent_subnets = generate_adjacent_subnets(base_subnet)
for subnet in adjacent_subnets:
    print(subnet)